package com.hdd.biz.painting.service;

import com.hdd.biz.painting.dto.TopicListRequest;
import com.hdd.biz.painting.dto.TopickRequest;
import com.hdd.biz.painting.entity.PaintingTopic;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hdd.dto.SuperRequest;
import com.hdd.dto.SuperResponse;

/**
 * <p>
 * 话题列表 服务类
 * </p>
 *
 * @author fang
 * @since 2021-02-25
 */
public interface PaintingTopicService extends IService<PaintingTopic> {


    SuperResponse list(TopicListRequest request);

    SuperResponse add(TopickRequest request);

    SuperResponse info(TopickRequest request);

    SuperResponse update(TopickRequest request);

    SuperResponse delete(TopickRequest request);

    PaintingTopic inset(String name,String userId);

    PaintingTopic findTopicByName(String name);
}
